package exception;

import java.awt.*;
import java.io.IOException;

/**
 * 当派生类重写超类含有throws声明异常抛出的方法是，对throws的重写规则
 */
public class ThrowsDemo2 {
    public void dosome()throws IOException, AWTException{ }
    class SubClass extends ThrowsDemo2{}
}
